package com.cowain.monitor.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.cowain.monitor.dao.PmsErpOpertionLogDao;
import com.cowain.monitor.datasources.DataSourceNames;
import com.cowain.monitor.datasources.annotation.DataSource;
import com.cowain.monitor.entity.PmsErpExceptionLogEntity;
import com.cowain.monitor.entity.PmsErpOpertionLogEntity;
import com.cowain.monitor.service.PmsErpOpertionLogService;
import org.springframework.stereotype.Service;

/**
 * PMS ehr-backend
 *
 * @Classname PmsErpOpertionLogServiceImpl
 * @Description TODO
 * @Date 2020-07-29 18:00
 * @Created 沈科举
 */
@Service
public class PmsErpOpertionLogServiceImpl extends ServiceImpl<PmsErpOpertionLogDao, PmsErpOpertionLogEntity>  implements PmsErpOpertionLogService {
    @Override
    @DataSource(name = DataSourceNames.FIRST)
    public int addPmsErpOpertionLogEntity(PmsErpOpertionLogEntity pmsErpOpertionLogEntity) {
        return baseMapper.addPmsErpOpertionLogEntity(pmsErpOpertionLogEntity);
    }
}
